package com.lingjtx.common.redis.stream;

// 示例数据包
public class ExampleEvent implements RedisStreamTypedEvent {

    private String id;
    private String username;

    @Override
    public String getType() {
        return "test.example";
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
